package com.hsy.bibc.modules.exchange.GsonData;

import java.util.List;

/**
 * Created by Administrator on 2016/6/8.
 */
public class AfterExchangeCodeGsonData {

    private String error;

    private String msg;

    private Result result;

    public void setError(String error) {
        this.error = error;
    }

    public String getError() {
        return this.error;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getMsg() {
        return this.msg;
    }

    public void setResult(Result result) {
        this.result = result;
    }

    public Result getResult() {
        return this.result;
    }

    public class User {
        private String id;

        private String nickname;

        private String avatar;

        private String score;

        public void setId(String id) {
            this.id = id;
        }

        public String getId() {
            return this.id;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getNickname() {
            return this.nickname;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }

        public String getAvatar() {
            return this.avatar;
        }

        public void setScore(String score) {
            this.score = score;
        }

        public String getScore() {
            return this.score;
        }

    }


    public class Order {
        private String qty;

        private String amount;

        public void setQty(String qty) {
            this.qty = qty;
        }

        public String getQty() {
            return this.qty;
        }

        public void setAmount(String amount) {
            this.amount = amount;
        }

        public String getAmount() {
            return this.amount;
        }

    }


    public class Children {
        private String id;

        private String name;

        private String price;

        private String qty;

        public void setId(String id) {
            this.id = id;
        }

        public String getId() {
            return this.id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setPrice(String price) {
            this.price = price;
        }

        public String getPrice() {
            return this.price;
        }

        public void setQty(String qty) {
            this.qty = qty;
        }

        public String getQty() {
            return this.qty;
        }

    }


    public class Goods {
        private String id;

        private String name;

        private List<Children> children;

        public void setId(String id) {
            this.id = id;
        }

        public String getId() {
            return this.id;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setChildren(List<Children> children) {
            this.children = children;
        }

        public List<Children> getChildren() {
            return this.children;
        }

    }


    public class Result {
        private User user;

        private List<Goods> goods;

        private Order order;

        private String code;

        public void setUser(User user) {
            this.user = user;
        }

        public User getUser() {
            return this.user;
        }

        public void setGoods(List<Goods> goods) {
            this.goods = goods;
        }

        public List<Goods> getGoods() {
            return this.goods;
        }

        public void setOrder(Order order) {
            this.order = order;
        }

        public Order getOrder() {
            return this.order;
        }

        public void setCode(String code) {
            this.code = code;
        }

        public String getCode() {
            return this.code;
        }

    }


}
